package com.nanhai.buddhist.college.module.collegebase.convert.studentchange;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchange.vo.StudentChangeCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchange.vo.StudentChangeExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchange.vo.StudentChangeRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchange.vo.StudentChangeUpdateReqVO;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.studentchange.StudentChangeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchange.vo.*;

/**
 * 学籍信息异动 Convert
 *
 * @author Akai
 */
@Mapper
public interface StudentChangeConvert {

    StudentChangeConvert INSTANCE = Mappers.getMapper(StudentChangeConvert.class);

    StudentChangeDO convert(StudentChangeCreateReqVO bean);

    StudentChangeDO convert(StudentChangeUpdateReqVO bean);

    StudentChangeRespVO convert(StudentChangeDO bean);

    List<StudentChangeRespVO> convertList(List<StudentChangeDO> list);

    PageResult<StudentChangeRespVO> convertPage(PageResult<StudentChangeDO> page);

    List<StudentChangeExcelVO> convertList02(List<StudentChangeDO> list);

}
